package com.trust.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author ccc
 * @since 2023-11-15 18:56:20
 */
@Data
@TableName("field_plant_land")
public class FieldPlantLand {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer landId;

    private Integer fieldId;

    public FieldPlantLand() {
    }

    public FieldPlantLand(Integer id, Integer landId, Integer fieldId) {
        this.id = id;
        this.landId = landId;
        this.fieldId = fieldId;
    }

    public FieldPlantLand(Integer landId, Integer fieldId) {
        this.landId = landId;
        this.fieldId = fieldId;
    }
}